﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace IndustrialCommunication.Interfaces
{
    public interface IClient:IDisposable
    {
        void Connect();
        Task ConnectAsync();
        void Disconnect();
        Task DisconnectAsync();
        void Send(byte[] data);
        Task SendAsync(byte[] data);
        byte[] Receive();
        Task<byte[]> ReceiveAsync();
    }
}
